﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="SDLITS.Web.Customer.ContractChange" Codebehind="ContractChange.aspx.cs" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <style>
        .mar { margin-right:5px;}
        .martop { margin-bottom:5px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
    <f:Panel ID="Panel1" runat="server" Layout="Fit" ShowBorder="False" ShowHeader="false" BodyPadding="5px">
        <Toolbars>
            <f:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <f:Button ID="btnSaveRefresh" Text="保存" runat="server" ValidateForms="SimpleForm1" Icon="SystemSaveNew" OnClick="btnSaveRefresh_Click">
                    </f:Button>
                </Items>
            </f:Toolbar>
        </Toolbars>
        <Items>
            <f:Panel ID="Panel2" Layout="Fit" runat="server" ShowBorder="false" ShowHeader="false">
                <Items>
                    <f:SimpleForm ID="SimpleForm1" ShowBorder="false" ShowHeader="false" LabelWidth="100px"
                        AutoScroll="true" BodyPadding="5px" runat="server" LabelAlign="Right" EnableCollapse="false">
                        <Items>
                            <f:Label runat="server" ID="txt_no" Label="合同编号"></f:Label>
                            <f:Panel ID="Panel3" Layout="Column" CssClass="martop" ShowHeader="false" ShowBorder="false" runat="server">
                            <Items>
                                <f:DropDownList ID="drp_area" Label="房间" CssClass="mar" Required="true" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="TextBox2_SelectedIndexChanged" ColumnWidth="65%" runat="server">
                                </f:DropDownList>
                                <f:DropDownList ID="drp_room" ColumnWidth="35%" runat="server">
                                </f:DropDownList>
                            </Items>
                            </f:Panel>
                            <f:TextBox ID="txt_contractor" Label="承租人" Required="true" ShowRedStar="true" runat="server" />
                            <f:TextBox ID="txt_phone" Label="联系电话" runat="server" />
                            <f:NumberBox runat="server" ID="txt_elec" Label="起初电费度数" NoDecimal="true" Required="true" ShowRedStar="true" NoNegative="true" ></f:NumberBox>
                            <f:NumberBox runat="server" ID="txt_rent" Label="合同租金" NoNegative="true" ></f:NumberBox>
                            <f:DatePicker runat="server" ID="txt_start" EnableEdit ="false" Label="开始日期" Required="true" ShowRedStar="true" DateFormatString="yyyy-MM-dd"></f:DatePicker>
                            <f:DatePicker runat="server" ID="txt_end" EnableEdit ="false" CompareControl="txt_start" CompareOperator="GreaterThan" CompareMessage="结束日期要大于开启日期" Label="结束日期" Required="true" ShowRedStar="true" DateFormatString="yyyy-MM-dd"></f:DatePicker>
                            <f:NumberBox runat="server" ID="txt_comvol" Label="企业卡数量" NoNegative="true" NoDecimal="true" ></f:NumberBox>
                            <f:NumberBox runat="server" ID="txt_softvol" Label="软件使用数量" NoNegative="true" NoDecimal="true" ></f:NumberBox>
                            <f:NumberBox runat="server" ID="txt_rentmanage" Label="管理费" NoNegative="true" ></f:NumberBox>
                            <f:TextArea runat="server" ID="txt_note" Label="备注" Height="50px"></f:TextArea>
                            <f:HiddenField runat="server" ID="hidend"></f:HiddenField>
                            <f:HiddenField runat="server" ID="hidroom"></f:HiddenField>
                        </Items>
                    </f:SimpleForm>
                </Items>
            </f:Panel>
        </Items>
    </f:Panel>
    </form>
</body>
</html>
